package com.tx.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author cyt
 * @create 2020-08-01 20:48
 */
@Accessors(chain = true)
@Data
@TableName(value = "user")
public class User {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "name")
    private String name;

    @TableField(value = "pwd")
    private String pwd;

    public static final String COL_ID = "id";

    public static final String COL_NAME = "name";

    public static final String COL_PWD = "pwd";
}
